<template>
  <div class="all">
      <van-nav-bar class="head" title="忘记密码" left-text="" left-arrow />
    <van-field
      v-model="tel"
      placeholder="输入内容"
      type="tel"
      label="手机号："
    />
    <van-field
      v-model="sms"
      center
      clearable
      label="验证码："
      placeholder="获取验证码"
    >
      <template #button class="btn">
        <van-button size="small" type="primary" color="rgba(42, 131, 78, 1)"
          >获取验证码</van-button
        >
      </template>
    </van-field>
    <van-field
      v-model="password"
      placeholder="输入内容"
      type="password"
      label="设置密码："
    />
    <van-field
      v-model="password"
      placeholder="输入内容"
      type="password"
      label="再次输入："
    />
    <van-button type="primary" size="large" color="rgba(42, 131, 78, 1)"
      >完成</van-button
    >
  </div>
</template>

<script>
export default {
  data() {
    return {
      tel: "",
      sms: "",
      password: "",
      password: "",
    };
  },
};
</script>

<style scoped lang="less">
.all {
    .head {
    width: 100%;
    height: 51px;
    color: rgba(80, 80, 80, 1);
    background-color: rgba(239, 239, 239, 1);
    position: fixed;
    top: 0;
    left: 0px;
  }
  /deep/.van-nav-bar .van-icon {
    color: rgba(153, 153, 153, 1);
  }
  /deep/.van-nav-bar__title {
    color: rgba(42, 131, 78, 1);
    font-size: 18px;
  }
  padding: 89px 20px;
  .van-field {
    font-size: 15px;
    .btn {
      font-size: 12px;
      .van-button--small {
        border-radius: 6px;
        width: 85px;
        height: 41px;
      }
    }
  }
  .van-button--large {
    border-radius: 6px;
    margin-top: 79px;
    width: 314px;
    height: 49px;
    font-size: 12px;
  }
}
</style>